{% extends "layout.html" %}
{% block body %}
    <h2>Login</h2>
    {% if error %}<p class="error"><strong>Error:<strong>{{error}}{% endif %}
            <form action="{{url_for('login')}}" method="post">
                <dl>
                    <dt>
                        Username:
                        <dd><input type="text" name="username"></dd>
                    </dt>
                    <dt>
                        Password:
                        <dd><input type="passoword" name="password"></dd>
                        <dd><input type="submit" value="Login"></dd>
                    </dt>
                </dl>
            </form>
    {% endblock %}
